home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• Adventureland •
/
• World Builder •
/
Death Mall Demo •••
/
Death Mall Demo еее.rsrc
/
CDEF_32.txt
< prev
next >
Wrap
Text File
|
1987-02-08
|
20KB
|
355 lines
start:
00000000 4E56 0000 link A6, 0
00000004 342E 000C move.w D2, [A6 + 0xC]
00000008 0C42 0003 cmpi.w D2, 0x3
0000000C 6A00 040C bpl +0x40E /* 0000041A */
00000010 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00000014 206E 000E movea.l A0, [A6 + 0xE]
00000018 A029 syscall HLock
0000001A 2450 movea.l A2, [A0]
0000001C 0C42 0002 cmpi.w D2, 0x2
00000020 6700 03DC beq +0x3DE /* 000003FE */
00000024 362A 000C move.w D3, [A2 + 0xC]
00000028 966A 0008 sub.w D3, [A2 + 0x8]
0000002C 382A 000E move.w D4, [A2 + 0xE]
00000030 986A 000A sub.w D4, [A2 + 0xA]
00000034 49FA 0458 lea.l A4, [PC + 0x458 /* 0000048E, value 0x0, cstring "" */]
00000038 296A 0008 0000 move.l [A4 + 0x0], [A2 + 0x8]
0000003E 296A 000C 0004 move.l [A4 + 0x4], [A2 + 0xC]
00000044 0C42 0001 cmpi.w D2, 0x1
00000048 6700 0310 beq +0x312 /* 0000035A */
0000004C 0C2A 0000 0010 cmpi.b [A2 + 0x10], 0x0
00000052 6700 03BC beq +0x3BE /* 00000410 */
00000056 206A 0004 movea.l A0, [A2 + 0x4]
0000005A D1FC 0000 004E add.l A0, 0x4E /* 'N' */
00000060 303C 000E move.w D0, 0xE
label00000064:
00000064 3F20 move.w -[A7], -[A0]
00000066 51C8 FFFC dbf D0, -0x6 /* 00000064 */
0000006A A89E syscall PenNormal
0000006C 302E 0012 move.w D0, [A6 + 0x12]
00000070 4EFB 00FE jmp [PC + D0.w - 0x2]
00000074 4EFA 000A jmp [PC + 0xA /* 00000080 */]
00000078 4EFA 008E jmp [PC + 0x8E /* 00000108 */]
0000007C 4EFA 0284 jmp [PC + 0x284 /* 00000302 */]
label00000080:
00000080 0C2A 0004 0011 cmpi.b [A2 + 0x11], 0x4
00000086 6700 0268 beq +0x26A /* 000002F0 */
0000008A 4EBA 03F0 jsr [PC + 0x3F0 /* 0000047C */]
0000008E 4EBA 03E6 jsr [PC + 0x3E6 /* 00000476 */]
00000092 206A 0004 movea.l A0, [A2 + 0x4]
00000096 42A8 0044 clr.l [A0 + 0x44]
0000009A 317C 0001 0048 move.w [A0 + 0x48], 0x1
000000A0 317C 000C 004A move.w [A0 + 0x4A], 0xC
000000A6 4268 004C clr.w [A0 + 0x4C]
000000AA 4267 clr.w -[A7]
000000AC 486A 0028 pea.l [A2 + 0x28]
000000B0 A88C syscall StringWidth
000000B2 301F move.w D0, [A7]+
000000B4 2F2C 0000 move.l -[A7], [A4 + 0x0]
000000B8 E24B lsr D3.w, 1
000000BA 5843 addq.w D3, 4
000000BC D76F 0000 add.w [A7 + 0x0], D3
000000C0 E24C lsr D4.w, 1
000000C2 E248 lsr D0.w, 1
000000C4 9840 sub.w D4, D0
000000C6 D96F 0002 add.w [A7 + 0x2], D4
000000CA A893 syscall MoveTo
000000CC 486A 0028 pea.l [A2 + 0x28]
000000D0 A884 syscall DrawString
000000D2 0C2A 00FE 0011 cmpi.b [A2 + 0x11], 0xFE
000000D8 6700 0010 beq +0x12 /* 000000EA */
000000DC 0C2A 00FF 0011 cmpi.b [A2 + 0x11], 0xFF
000000E2 6700 0006 beq +0x8 /* 000000EA */
000000E6 4EFA 025A jmp [PC + 0x25A /* 00000342 */]
label000000EA:
000000EA 487A 03AA pea.l [PC + 0x3AA /* 00000496, value 0xAA55AA55 */]
000000EE A89D syscall PenPat
000000F0 3F3C 000B move.w -[A7], 0xB
000000F4 A89C syscall PenMode
000000F6 203C 0001 0001 move.l D0, 0x10001
000000FC 4EBA 0364 jsr [PC + 0x364 /* 00000462 */]
00000100 4EBA 0386 jsr [PC + 0x386 /* 00000488 */]
00000104 4EFA 023C jmp [PC + 0x23C /* 00000342 */]
label00000108:
00000108 0C2E 0081 000B cmpi.b [A6 + 0xB], 0x81
0000010E 6700 00F0 beq +0xF2 /* 00000200 */
00000112 0C2E 0008 000B cmpi.b [A6 + 0xB], 0x8
00000118 6700 0198 beq +0x19A /* 000002B2 */
0000011C 4EBA 035E jsr [PC + 0x35E /* 0000047C */]
00000120 4EBA 0354 jsr [PC + 0x354 /* 00000476 */]
00000124 0C2A 00FE 0011 cmpi.b [A2 + 0x11], 0xFE
0000012A 6700 0216 beq +0x218 /* 00000342 */
0000012E 0C2A 00FF 0011 cmpi.b [A2 + 0x11], 0xFF
00000134 6700 020C beq +0x20E /* 00000342 */
00000138 42A7 clr.l -[A7]
0000013A A8D8 syscall NewRgn
0000013C 265F movea.l A3, [A7]+
0000013E A8DA syscall OpenRgn
00000140 B644 cmp.w D3, D4
00000142 6A00 0056 bpl +0x58 /* 0000019A */
00000146 3F2C 0002 move.w -[A7], [A4 + 0x2]
0000014A 3F2C 0000 move.w -[A7], [A4 + 0x0]
0000014E 5E57 addq.w [A7], 7
00000150 A893 syscall MoveTo
00000152 2F3C FFF9 0007 move.l -[A7], 0xFFF90007
00000158 A892 syscall Line
0000015A 2F3C 000E 0000 move.l -[A7], 0xE0000
00000160 A892 syscall Line
00000162 2F3C FFF9 FFF9 move.l -[A7], 0xFFF9FFF9
00000168 A892 syscall Line
0000016A 3F2C 0006 move.w -[A7], [A4 + 0x6]
0000016E 5357 subq.w [A7], 1
00000170 3F2C 0000 move.w -[A7], [A4 + 0x0]
00000174 5E57 addq.w [A7], 7
00000176 A893 syscall MoveTo
00000178 2F3C FFFA FFFA move.l -[A7], 0xFFFAFFFA
0000017E A892 syscall Line
00000180 2F3C 000C 0000 move.l -[A7], 0xC0000
00000186 A892 syscall Line
00000188 2F3C FFFA 0006 move.l -[A7], 0xFFFA0006
0000018E A892 syscall Line
00000190 203C 0003 0007 move.l D0, 0x30007
00000196 4EFA 0050 jmp [PC + 0x50 /* 000001E8 */]
label0000019A:
0000019A 3F2C 0002 move.w -[A7], [A4 + 0x2]
0000019E 5E57 addq.w [A7], 7
000001A0 3F2C 0000 move.w -[A7], [A4 + 0x0]
000001A4 A893 syscall MoveTo
000001A6 2F3C 0007 FFF9 move.l -[A7], 0x7FFF9
000001AC A892 syscall Line
000001AE 2F3C 0000 000D move.l -[A7], 0xD /* '\r' */
000001B4 A892 syscall Line
000001B6 2F3C FFFA FFFA move.l -[A7], 0xFFFAFFFA
000001BC A892 syscall Line
000001BE 3F2C 0002 move.w -[A7], [A4 + 0x2]
000001C2 5E57 addq.w [A7], 7
000001C4 3F2C 0004 move.w -[A7], [A4 + 0x4]
000001C8 A893 syscall MoveTo
000001CA 2F3C FFF9 FFF9 move.l -[A7], 0xFFF9FFF9
000001D0 A892 syscall Line
000001D2 2F3C 0000 000D move.l -[A7], 0xD /* '\r' */
000001D8 A892 syscall Line
000001DA 2F3C 0007 FFF9 move.l -[A7], 0x7FFF9
000001E0 A892 syscall Line
000001E2 203C 0007 0003 move.l D0, 0x70003
label000001E8:
000001E8 4EBA 0278 jsr [PC + 0x278 /* 00000462 */]
000001EC 4EBA 0288 jsr [PC + 0x288 /* 00000476 */]
000001F0 2F0B move.l -[A7], A3
000001F2 A8DB syscall CloseRgn
000001F4 2F0B move.l -[A7], A3
000001F6 A8D3 syscall PaintRgn
000001F8 2F0B move.l -[A7], A3
000001FA A8D9 syscall DisposRgn/DisposeRgn
000001FC 4EFA 0144 jmp [PC + 0x144 /* 00000342 */]
label00000200:
00000200 2A2A 001C move.l D5, [A2 + 0x1C]
00000204 B644 cmp.w D3, D4
00000206 6A00 0056 bpl +0x58 /* 0000025E */
0000020A 203C 0001 FFFF move.l D0, 0x1FFFF
00000210 4EBA 0250 jsr [PC + 0x250 /* 00000462 */]
00000214 396C 0002 0006 move.w [A4 + 0x6], [A4 + 0x2]
0000021A 4EBA 020A jsr [PC + 0x20A /* 00000426 */]
0000021E DB6C 0002 add.w [A4 + 0x2], D5
00000222 302A 001E move.w D0, [A2 + 0x1E]
00000226 D16C 0006 add.w [A4 + 0x6], D0
0000022A BA6A 001E cmp.w D5, [A2 + 0x1E]
0000022E 6B00 0010 bmi +0x12 /* 00000240 */
00000232 302C 0002 move.w D0, [A4 + 0x2]
00000236 396C 0006 0002 move.w [A4 + 0x2], [A4 + 0x6]
0000023C 3940 0006 move.w [A4 + 0x6], D0
label00000240:
00000240 4EBA 0240 jsr [PC + 0x240 /* 00000482 */]
00000244 302A 001E move.w D0, [A2 + 0x1E]
00000248 906A 001C sub.w D0, [A2 + 0x1C]
0000024C 5540 subq.w D0, 2
0000024E 916C 0006 sub.w [A4 + 0x6], D0
00000252 916C 0002 sub.w [A4 + 0x2], D0
00000256 4EBA 022A jsr [PC + 0x22A /* 00000482 */]
0000025A 4EFA 00E6 jmp [PC + 0xE6 /* 00000342 */]
label0000025E:
0000025E 203C FFFF 0001 move.l D0, 0xFFFF0001
00000264 4EBA 01FC jsr [PC + 0x1FC /* 00000462 */]
00000268 396C 0000 0004 move.w [A4 + 0x4], [A4 + 0x0]
0000026E 4EBA 01D4 jsr [PC + 0x1D4 /* 00000444 */]
00000272 DB6C 0000 add.w [A4 + 0x0], D5
00000276 302A 001E move.w D0, [A2 + 0x1E]
0000027A D16C 0004 add.w [A4 + 0x4], D0
0000027E BA6A 001E cmp.w D5, [A2 + 0x1E]
00000282 6B00 0010 bmi +0x12 /* 00000294 */
00000286 302C 0000 move.w D0, [A4 + 0x0]
0000028A 396C 0004 0000 move.w [A4 + 0x0], [A4 + 0x4]
00000290 3940 0004 move.w [A4 + 0x4], D0
label00000294:
00000294 4EBA 01EC jsr [PC + 0x1EC /* 00000482 */]
00000298 302A 001E move.w D0, [A2 + 0x1E]
0000029C 906A 001C sub.w D0, [A2 + 0x1C]
000002A0 5540 subq.w D0, 2
000002A2 916C 0004 sub.w [A4 + 0x4], D0
000002A6 916C 0000 sub.w [A4 + 0x0], D0
000002AA 4EBA 01D6 jsr [PC + 0x1D6 /* 00000482 */]
000002AE 4EFA 0092 jmp [PC + 0x92 /* 00000342 */]
label000002B2:
000002B2 B644 cmp.w D3, D4
000002B4 6A00 0020 bpl +0x22 /* 000002D6 */
000002B8 4EBA 016C jsr [PC + 0x16C /* 00000426 */]
000002BC 396C 0002 0006 move.w [A4 + 0x6], [A4 + 0x2]
000002C2 302A 001C move.w D0, [A2 + 0x1C]
000002C6 D16C 0002 add.w [A4 + 0x2], D0
000002CA 302A 001E move.w D0, [A2 + 0x1E]
000002CE D16C 0006 add.w [A4 + 0x6], D0
000002D2 4EFA 001C jmp [PC + 0x1C /* 000002F0 */]
label000002D6:
000002D6 4EBA 016C jsr [PC + 0x16C /* 00000444 */]
000002DA 396C 0000 0004 move.w [A4 + 0x4], [A4 + 0x0]
000002E0 302A 001C move.w D0, [A2 + 0x1C]
000002E4 D16C 0000 add.w [A4 + 0x0], D0
000002E8 302A 001E move.w D0, [A2 + 0x1E]
000002EC D16C 0004 add.w [A4 + 0x4], D0
label000002F0:
000002F0 203C 0001 0001 move.l D0, 0x10001
000002F6 4EBA 016A jsr [PC + 0x16A /* 00000462 */]
000002FA 4EBA 0186 jsr [PC + 0x186 /* 00000482 */]
000002FE 4EFA 0042 jmp [PC + 0x42 /* 00000342 */]
label00000302:
00000302 4EBA 0172 jsr [PC + 0x172 /* 00000476 */]
00000306 203C 0001 0001 move.l D0, 0x10001
0000030C 4EBA 0154 jsr [PC + 0x154 /* 00000462 */]
00000310 4EBA 016A jsr [PC + 0x16A /* 0000047C */]
00000314 302A 0012 move.w D0, [A2 + 0x12]
00000318 906A 0014 sub.w D0, [A2 + 0x14]
0000031C 322C 0006 move.w D1, [A4 + 0x6]
00000320 926C 0002 sub.w D1, [A4 + 0x2]
00000324 C2C0 mulu.w D1, D0
00000326 302A 0016 move.w D0, [A2 + 0x16]
0000032A 906A 0014 sub.w D0, [A2 + 0x14]
0000032E 82C0 divu.w D1, D0
00000330 396C 0002 0006 move.w [A4 + 0x6], [A4 + 0x2]
00000336 D36C 0006 add.w [A4 + 0x6], D1
0000033A 4EBA 014C jsr [PC + 0x14C /* 00000488 */]
0000033E 4EFA 0002 jmp [PC + 0x2 /* 00000342 */]
label00000342:
00000342 206A 0004 movea.l A0, [A2 + 0x4]
00000346 D1FC 0000 0030 add.l A0, 0x30 /* '0' */
0000034C 303C 000E move.w D0, 0xE
label00000350:
00000350 30DF move.w [A0]+, [A7]+
00000352 51C8 FFFC dbf D0, -0x6 /* 00000350 */
00000356 4EFA 00B8 jmp [PC + 0xB8 /* 00000410 */]
label0000035A:
0000035A 42AE 0014 clr.l [A6 + 0x14]
0000035E 4267 clr.w -[A7]
00000360 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000364 2F0C move.l -[A7], A4
00000366 A8AD syscall PtInRect
00000368 101F move.b D0, [A7]+
0000036A 6700 00A4 beq +0xA6 /* 00000410 */
0000036E 0C2A 00FE 0011 cmpi.b [A2 + 0x11], 0xFE
00000374 6600 000C bne +0xE /* 00000382 */
00000378 1D7C 00FE 0017 move.b [A6 + 0x17], 0xFE
0000037E 4EFA 0090 jmp [PC + 0x90 /* 00000410 */]
label00000382:
00000382 0C2A 00FF 0011 cmpi.b [A2 + 0x11], 0xFF
00000388 6700 0086 beq +0x88 /* 00000410 */
0000038C 3D6E 0012 0016 move.w [A6 + 0x16], [A6 + 0x12]
00000392 0C6E 000C 0012 cmpi.w [A6 + 0x12], 0xC
00000398 6700 003A beq +0x3C /* 000003D4 */
0000039C 0C6E 0008 0012 cmpi.w [A6 + 0x12], 0x8
000003A2 6600 006C bne +0x6E /* 00000410 */
000003A6 B644 cmp.w D3, D4
000003A8 6A00 0016 bpl +0x18 /* 000003C0 */
000003AC 342C 0002 move.w D2, [A4 + 0x2]
000003B0 E24C lsr D4.w, 1
000003B2 D444 add.w D2, D4
000003B4 946E 000A sub.w D2, [A6 + 0xA]
000003B8 3542 0026 move.w [A2 + 0x26], D2
000003BC 4EFA 0052 jmp [PC + 0x52 /* 00000410 */]
label000003C0:
000003C0 342C 0000 move.w D2, [A4 + 0x0]
000003C4 E24B lsr D3.w, 1
000003C6 D443 add.w D2, D3
000003C8 946E 0008 sub.w D2, [A6 + 0x8]
000003CC 3542 0026 move.w [A2 + 0x26], D2
000003D0 4EFA 003E jmp [PC + 0x3E /* 00000410 */]
label000003D4:
000003D4 302E 000A move.w D0, [A6 + 0xA]
000003D8 906C 0002 sub.w D0, [A4 + 0x2]
000003DC 322A 0016 move.w D1, [A2 + 0x16]
000003E0 926A 0014 sub.w D1, [A2 + 0x14]
000003E4 C2C0 mulu.w D1, D0
000003E6 302C 0006 move.w D0, [A4 + 0x6]
000003EA 906C 0002 sub.w D0, [A4 + 0x2]
000003EE 82C0 divu.w D1, D0
000003F0 D26A 0014 add.w D1, [A2 + 0x14]
000003F4 5241 addq.w D1, 1
000003F6 3541 0026 move.w [A2 + 0x26], D1
000003FA 4EFA 0014 jmp [PC + 0x14 /* 00000410 */]
label000003FE:
000003FE 206E 0008 movea.l A0, [A6 + 0x8]
00000402 2050 movea.l A0, [A0]
00000404 216A 0008 0002 move.l [A0 + 0x2], [A2 + 0x8]
0000040A 216A 000C 0006 move.l [A0 + 0x6], [A2 + 0xC]
label00000410:
00000410 206E 000E movea.l A0, [A6 + 0xE]
00000414 A02A syscall HUnlock
00000416 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
label0000041A:
0000041A 4E5E unlink A6
0000041C 205F movea.l A0, [A7]+
0000041E DFFC 0000 000C add.l A7, 0xC
00000424 4ED0 jmp [A0]
fn00000426:
00000426 3204 move.w D1, D4
00000428 C2C1 mulu.w D1, D1
0000042A 82EA 0016 divu.w D1, [A2 + 0x16]
0000042E 302A 0012 move.w D0, [A2 + 0x12]
00000432 C0C4 mulu.w D0, D4
00000434 80EA 0016 divu.w D0, [A2 + 0x16]
00000438 3540 001C move.w [A2 + 0x1C], D0
0000043C D041 add.w D0, D1
0000043E 3540 001E move.w [A2 + 0x1E], D0
00000442 4E75 rts
fn00000444:
00000444 3203 move.w D1, D3
00000446 C2C1 mulu.w D1, D1
00000448 82EA 0016 divu.w D1, [A2 + 0x16]
0000044C 302A 0012 move.w D0, [A2 + 0x12]
00000450 C0C3 mulu.w D0, D3
00000452 80EA 0016 divu.w D0, [A2 + 0x16]
00000456 3540 001C move.w [A2 + 0x1C], D0
0000045A D041 add.w D0, D1
0000045C 3540 001E move.w [A2 + 0x1E], D0
00000460 4E75 rts
fn00000462:
00000462 D16C 0002 add.w [A4 + 0x2], D0
00000466 916C 0006 sub.w [A4 + 0x6], D0
0000046A 4840 swap.w D0
0000046C D16C 0000 add.w [A4 + 0x0], D0
00000470 916C 0004 sub.w [A4 + 0x4], D0
00000474 4E75 rts
fn00000476:
00000476 2F0C move.l -[A7], A4
00000478 A8A1 syscall FrameRect
0000047A 4E75 rts
fn0000047C:
0000047C 2F0C move.l -[A7], A4
0000047E A8A3 syscall EraseRect
00000480 4E75 rts
fn00000482:
00000482 2F0C move.l -[A7], A4
00000484 A8A4 syscall InvertRect
00000486 4E75 rts
fn00000488:
00000488 2F0C move.l -[A7], A4
0000048A A8A2 syscall PaintRect
0000048C 4E75 rts
0000048E 0000 0000 ori.b D0, 0x0
00000492 0000 0000 ori.b D0, 0x0
00000496 AA55 syscall KobeMgr
00000498 AA55 syscall KobeMgr
0000049A AA55 syscall KobeMgr
0000049C AA55 syscall KobeMgr
0000049E AA55 syscall KobeMgr
000004A0 AA55 syscall KobeMgr